Blktapctrl compatibility layer
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 9 Jul 2008 09:41:49 +0000 (10:41 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 9 Jul 2008 09:41:49 +0000 (10:41 +0100)
commit5109f87cee321e54f1e4deb199c1e3bd0fa94b99
treed2e8a2b12cf4a28ae7eec49ded298aea28c1bd5f
parent17ebf1d7eeb1a8e4cc98018294f42a7b9b8d4508
Blktapctrl compatibility layer

I originally had just changed the NEWINTF ioctl to send over 48-bits
of information, which works on 64-bit but not on 32-bit (since the arg
is an unsigned long).  Additionally, the previous changes would break
an older userland against a new kernel.  For that reason, introduce a
new ioctl (NEWINTF_EXT) that fixes both of these problems.  This is
the dom0 userland side.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
tools/blktap/drivers/blktapctrl.c
tools/blktap/lib/blktaplib.h